package com.itheima.reggie.common;



//自定义异常类
public class CustomException extends RuntimeException{

    //空参构造
    public CustomException(){}

    //带参构造
    public CustomException(String massage){
        //把消息传递给父类的message属性
        super(massage);
    }

}
